package gameBasicElements;



/**
 * @author Igor Adamski
 *
 */
public enum BoardType
{
	STANDARD_BOARD
	{
		@Override
		public Board makeEmptyBoard(int size)
		{
			return new StandardBoard(size);
		}
		
		@Override
		public String toString()
		{
			return "Standard";
		}
	},
	
	TORUS_BOARD
	{
		@Override
		public Board makeEmptyBoard(int size)
		{
			return new TorusBoard(size);
		}
		
		@Override
		public String toString()
		{
			return "Torus";
		}
	};
	
	public abstract Board makeEmptyBoard(int size);
	public static BoardType getDefaultBoard()
	{
		return STANDARD_BOARD;
	}
}
